package com.example.activitysign.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.activitysign.entity.ActivityAwardRule;
import com.example.activitysign.validate.ActivityAwardRuleCreateValidate;
import com.example.activitysign.validate.ActivityAwardRuleUpdateValidate;
import com.example.activitysign.vo.activity.ActivityAwardRuleDetailVo;


/**
 * 奖励规则服务接口类
 *
 * @author fei
 */
public interface IActivityAwardRuleService extends IService<ActivityAwardRule> {


    /**
     * 奖励规则详情
     *
     * @param id 主键ID
     * @return ActivityAwardRuleDetailVo
     * @author fei
     */
    ActivityAwardRuleDetailVo detail(Long id);

    /**
     * 奖励规则新增
     *
     * @param createValidate 参数
     * @author fei
     */
    void add(ActivityAwardRuleCreateValidate createValidate);

    /**
     * 奖励规则编辑
     *
     * @param updateValidate 参数
     * @author fei
     */
    void edit(ActivityAwardRuleUpdateValidate updateValidate);

    /**
     * 奖励规则删除
     *
     * @param id 主键ID
     * @author fei
     */
    void del(Long id);

}

